// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:48

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   go.java

package com.zelix;

import java.awt.event.*;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

// Referenced classes of package com.zelix:
//            q2, tb

class go
    implements MouseListener, ListSelectionListener, KeyListener
{

    private final q2 a;

    go(q2 q2_1)
    {
        a = q2_1;
    }

    public void keyPressed(KeyEvent keyevent)
    {
        if(keyevent.getKeyCode() == 10 || keyevent.getKeyCode() == 127)
        {
            a.t();
            a.d(false);
        }
    }

    public void keyReleased(KeyEvent keyevent)
    {
    }

    public void keyTyped(KeyEvent keyevent)
    {
    }

    public void mouseClicked(MouseEvent mouseevent)
    {
        if(mouseevent.getClickCount() == 2)
        {
            a.t();
            a.d(false);
        }
    }

    public void mouseEntered(MouseEvent mouseevent)
    {
    }

    public void mouseExited(MouseEvent mouseevent)
    {
    }

    public void mousePressed(MouseEvent mouseevent)
    {
    }

    public void mouseReleased(MouseEvent mouseevent)
    {
    }

    public void valueChanged(ListSelectionEvent listselectionevent)
    {
label0:
        {
            if(a.o() == 0)
            {
                a.d(false);
                if(!tb.b)
                    break label0;
            }
            a.d(true);
        }
    }
}